<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/framework/web/common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>分页</title>
</head>
<body>
	<div>
		<s:if test="page.pageNo <= 1" >
			<img src="<%=request.getContextPath()%>/framework/images/button/page_first.png" align="middle" class="disabled"/>&nbsp;
			<img src="<%=request.getContextPath()%>/framework/images/button/page_prev.png" align="middle" class="disabled"/>&nbsp;
		</s:if>
		<s:else>
			<a href="<s:property value="pageUrl"/>?page.pageNo=1"><img src="<%=request.getContextPath()%>/framework/images/button/page_first.png" align="middle"/></a>&nbsp;
			<a href="<s:property value="pageUrl"/>?page.pageNo=<s:property value="page.pageNo-1"/>"><img src="<%=request.getContextPath()%>/framework/images/button/page_prev.png" align="middle"/></a>&nbsp;
		</s:else>
		<s:if test="page.pageNo >= page.totalPages">
			<img src="<%=request.getContextPath()%>/framework/images/button/page_next.png" align="middle" class="disabled"/>&nbsp;
			<img src="<%=request.getContextPath()%>/framework/images/button/page_last.png" align="middle" class="disabled"/>&nbsp;
		</s:if>
		<s:else>
			<a href="<s:property value="pageUrl"/>?page.pageNo=<s:property value="page.pageNo+1"/>"><img src="<%=request.getContextPath()%>/framework/images/button/page_next.png" align="middle"/></a>&nbsp;
			<a href="<s:property value="pageUrl"/>?page.pageNo=<s:property value="page.totalPages"/>"><img src="<%=request.getContextPath()%>/framework/images/button/page_last.png" align="middle"/></a>&nbsp;
		</s:else>
		<span style="vertical-align: middle;float: right;">共<s:property value="page.totalPages"/>页-
		<s:property value="page.totalRows"/>条数据-当前第<s:property value="page.pageNo"/>页&nbsp;&nbsp;&nbsp;&nbsp;
		</span>
	</div>
</body>
</html>